<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="<%=basePath%>css/jquery-ui.min.css" rel="stylesheet">
<link href="<%=basePath%>css/jquery-ui.structure.min.css"
	rel="stylesheet">
<link href="<%=basePath%>css/jquery-ui.theme.min.css" rel="stylesheet">

<script type="text/javascript" src="<%=basePath%>js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery-ui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.ui.datepicker-zh-TW.js"></script>
<script>
	 
	    $(document).ready(function() {
           console.log("robert.................");			
            $("#startDatepicker").datepicker();
			$("#endDatepicker").datepicker();
        });
		
	</script>
  </head>
  <jsp:useBean id="tmp" class="bo.ApBo" /> 
  <body>
  <a href="<%=basePath%>ipDisplay.jsp">[從stacktrace 類型 看stuck thread統計數字]</a><br/>
	Stuck Thread Anaylsis.<br>
    <form action="mainPageSearch.html" method="post"  >
    	<table>
    	<tr><td>AP主機  ip: </td><td>
			<select name="ip">	
    			<c:forEach items="${tmp['allApIp']}" var="ip">
						<option value="${ip}">${ip}</option>
						</c:forEach>
				</select>
		</td></tr>
    	<tr><td>日期起始日期:</td><td><input type="text" name="startDate" id="startDatepicker" /></td></tr>
    	<tr><td>日期結束日期:</td><td><input type="text" name="endDate" id="endDatepicker"   /></td></tr>
    	<tr><td><input type="submit"   /></td><td></td></tr>
    	</table>
		    
    </form>
  </body>
</html>
